/**
 * Class: Dot2D
 *
 * Purpose: 
 *
 * Created: Jan 27, 2010 @ 9:37:10 AM
 * @author Ken Scott
 */
package org.openfantasia.ps.shape;

import org.openfantasia.ps.particle.Particle;
import org.openfantasia.ui.PFrame;

public class MovingDot extends Shape {

	protected float weight = 1;


	public MovingDot(PFrame frame) {
		super(frame);
	}


	public MovingDot(PFrame frame, float weight) {
		super(frame);
		this.weight = weight;
	}


	public void drawShape(Particle particle) {
		frame.point(particle.getPreviousPosition());
		frame.point(particle.getPosition());
	}
}